<?php

class Application_Model_DbTable_RoleUser extends Zend_Db_Table_Abstract
{
    protected $_name = 'roles_users';
 
    protected $_referenceMap    = array(
        'user' => array(
            'columns'           => array('user_id'),
            'refTableClass'     => 'Application_Model_DbTable_User',
            'refColumns'        => array('id')
        ),
        'role' => array(
            'columns'           => array('role_id'),
            'refTableClass'     => 'Application_Model_DbTable_Role',
            'refColumns'        => array('id')
        )
    );
 
}
?>
